package com.zrrd.yt.item.client;

import com.zrrd.yt.common.result.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "service-item")
public interface ItemFeiginClient {

    //向商品详情汇总服务发请求获取汇总数据
    @GetMapping("api/item/{skuId}")
    public Result getItem(@PathVariable("skuId") Long skuId);


}
